public class Clazz {
    String name;
    int teacher_id;
    int student_id;
    int score;

    public Clazz(String name, int teacher_id, int student_id, int score){
        this.name = name;
        this.teacher_id = teacher_id;
        this.student_id = student_id;
        this.score = score;
    }

    @Override
    public String toString() {
        return String.format("课程：%s, 教师id：%d, 学生id：%d, 分数：%d",
                name, teacher_id, student_id, score);
    }
}
